package com.fw;

import com.fw.config.Constants;
import com.fw.config.FwConfig;
import com.fw.config.Handlers;
import com.fw.config.Interceptors;
import com.fw.config.Plugins;
import com.fw.config.Routes;
import com.fw.render.ViewType;

public class CommonConfig extends FwConfig{

	@Override
	public void configConstant(Constants me) {
		me.setDevMode(true);
		me.setViewType(ViewType.FREE_MARKER);
	}

	@Override
	public void configRoute(Routes me) {
		me.add("/a", LoginCtroller.class);
		me.add("/f", WelComeController.class,"/WEB-INF/page/welcome");
	}

	@Override
	public void configPlugin(Plugins me) {}

	@Override
	public void configInterceptor(Interceptors me) {}

	@Override
	public void configHandler(Handlers me) {}

}
